package com.guxiuwei.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author 谷秀伟
 * @since 2023-03-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Aporder对象", description="")
public class Aporder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "随工单号")
      @TableId(value = "aid", type = IdType.AUTO)
    private Long aid;

    @ApiModelProperty(value = "施工单号")
    private Long oid;

    @ApiModelProperty(value = "随工人员姓名")
    private String apname;

    @ApiModelProperty(value = "随工人员联系方式")
    private Long phone;

    @ApiModelProperty(value = "随工状态")
    private String status;

    @ApiModelProperty(value = "施工开始时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date starttime;

    @ApiModelProperty(value = "施工结束时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date endtime;

    @ApiModelProperty(value = "施工具体位置")
    private String location;

    @ApiModelProperty(value = "施工内容")
    private String content;

    @ApiModelProperty(value = "现场施工图片地址")
    private String fmsg;


}
